import urllib.request


class HtmlDownloader(object):
    @classmethod
    def download(cls, url):
        if url is None:
            return None
        response = urllib.request.urlopen(url).read()
        #if response.getCode() != 200:
            #return None
        return response